package com.article.dao;

import com.article.common.PageParam;
import com.article.model.Message;
import com.article.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IMessageDao {

    int insert(Message message);

    int updateById(Message message);

    int deleteById(Integer id);

    List<Message> queryAll(@Param(value = "pageParam") PageParam pageParam);

    Message selectById(Integer id);
}
